#   ADMAKE makefile by 2500AD Software Inc.                 February 1993
#
#   This ADMAKE makefile builds the ADMAKE program for Unix and for 
#   Coherent.  The output file is named `admake'.  
#
#   You can not use the `admake' in the current directory to rebuild 
#   itself because you cannot normally write to an executing program 
#   image on disk.
#
#   This makefile will also work with Unix or Coherent make, in case
#   you do not already have a copy of ADMAKE.
#
#   For information on the ADMAKE make utility, see ADMAKE.DOC
#
#   This makefile is invoked from the directory which contains the C 
#   and H files for ADMAKE.
#
#   NOTE:   With some Unix compilers you will get a warning message 
#           about #include syntax as the VMS includes are processed.
#
#   --------------------------------------------------------------------

OBJS = main.o check.o input.o macro.o make.o reader.o rules.o ifproc.o \
       mtime.o messages.o

CC = cc
CFLAGS = -c -I. -DNIX 
CFILES = $<

admake: $(OBJS)
	cc -o admake $(OBJS)

